package cn.smartorigin.soas.frame.panel;

import java.awt.BorderLayout;

import javax.swing.JComponent;
import javax.swing.JScrollPane;
import javax.swing.JTable;

import cn.smartorigin.soas.frame.tree.CellMutableTreeNode;

public class CellTablePanel extends CellPagePanel{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	//CellMutableTreeNode selecedNode;
	//int tabId;
	private JTable table = new JTable();
	private JScrollPane scroll = new JScrollPane(table);
	
    public CellTablePanel() {
		super();
		init();
	}

	public CellTablePanel(CellMutableTreeNode sn) {
		super();
		init();
		//selecedNode = sn;
	}


	public CellTablePanel(CellMutableTreeNode sn, int id) {
		super();
		init();
		//selecedNode = sn;
		//tabId = id;
	}
	
	private void init(){
		this.getCenterPane().add(scroll, BorderLayout.CENTER);
	}
	
    
	public JTable getTable() {
        return table;
    }
	
    public void setSelectTab(int usrId){
    	
    }
}
